package com.matt.domain.courseV2.po;

import com.matt.commons.model.Domain;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;
import java.sql.Timestamp;

/**
 * 课程包
 * 例如：一年级语文，售价 199 元。
 */
@Data
@ApiModel("课程包对象")
public class VendorCoursePackagePO {
    private static final long serialVersionUID = 1L;



    private String vendorId;

    /**
     * 课程包名称
     */
    @ApiModelProperty(value = "课程包名称")
    private String name;

    /**
     * 封面
     */
    @ApiModelProperty(value = "封面图片")
    private String cover;

    /**
     * 课程包描述
     */
    @ApiModelProperty(value = "课程包描述")
    private String desc;

    /**
     * 促销信息
     */
    @ApiModelProperty(value = "促销信息")
    private String promoInfo;

    /**
     * 价格
     */
    @ApiModelProperty(value = "价格")
    private Integer price;

    /**
     * 原价
     */
    @ApiModelProperty(value = "原价")
    private Integer originPrice;

    /**
     * 目标用户
     */
    @ApiModelProperty(value = "目标用户")
    private String targetUser;

    /**
     * 维度
     */
    @ApiModelProperty(value = "维度")
    private String dimensions;

    /**
     * 标签
     */
    @ApiModelProperty(value = "标签")
    private String tags;

    /**
     * 月龄 低限
     */
    @ApiModelProperty(value = "月龄 低限")
    private Integer ageLow;

    /**
     * 月龄 高限
     */
    @ApiModelProperty(value = "月龄 高限")
    private Integer ageHigh;

    /**
     * 日期前有效
     */
    @ApiModelProperty(value = "日期前有效")
    private Timestamp avaliableDate;

    /**
     * 状态， 0.未发布， 1.发布
     */
    @ApiModelProperty(value = "状态， 0.未发布， 1.发布")
    private Boolean published;


    //内含课程数量
    @ApiModelProperty(value = "内含课程数量")
    private Integer courseCount;

    //作者
    @ApiModelProperty(value = "作者")
    private String author;

    @ApiModelProperty(value = "修改时间")
    private Timestamp lastUpdated;

    @ApiModelProperty(value = "0托班1早教")
    private Integer type = 0;
}